using System.Collections.Generic;
using microsoft_TODO.Models;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;

namespace microsoft_TODO.MongoCore.Repositories {
    public class TaskRepository : BaseRepository<Task>, ITaskRepository {
        public TaskRepository (IConfiguration configuration) : base (configuration, "task") { }

        public IEnumerable<Task> GetAllByListId (string lid) {
            // return this.Collection.Find (u => u.ListId == lid).ToList ();
            return null;
        }

        public IEnumerable<Task> GetTodayByListId (string lid) {
            // return this.Collection.Find (u => u.ListId == lid && u.Today).ToList ();
            return null;
        }
    }
}